package com.lineengine.lineengine.node;

import com.lineengine.lineengine.context.MyContext;
import com.lineengine.lineengine.result.DefaultResult;
import com.lineengine.lineengine.result.IResult;
import org.springframework.stereotype.Component;

/**
 * @author ycd0075
 * @date 2023-03-23 10:15
 */
@Component
public class FirstNode extends AbstractNode<MyContext>{
    @Override
    protected IResult<MyContext> doExecute(MyContext context) {
        System.out.println("FirstNode");
        return DefaultResult.success();
    }
}
